﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebApiV3.Data.Entity;
using WebApiV3.Domoin.Enum;

namespace WebApiV3.Interface.Log
{
    public interface ILog
    {
        Logs GetLogById(int id);

        void Insert(Logs log);

        void Delete(Logs log);

        IEnumerable<Logs> MultiQuery(DateTime beginTime, DateTime endTime, Loglevel logLevel, int userId = 0);

        //清除日志
        void Clear();
    }
}
